package com.be.beadmin.design.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Author Jiahao Liu
 * @CreateTime 2023-06-13
 * @Description 标准柜体工时定义
 */
@Entity
@Table(name="T_DM_StandProductProcessInfo")
@Getter
@Setter
public class StandProductProcessInfo extends BaseEntity {

    @Column(name = "ShowSelfInspection",columnDefinition = "int COMMENT '是否显示自检清单(0/1)'")
    private Integer showSelfInspection;

    @Column(name = "IsProductionProcess",columnDefinition = "int COMMENT '是否属于生产工序(0/1)'")
    private Integer isProductionProcess;

    @Column(name = "StandTypeId",columnDefinition = "VARCHAR(50) COMMENT '标准柜体id' ")
    private String standTypeId;

    @Column(name = "StandTypeCode",columnDefinition = "VARCHAR(50) COMMENT '标准柜体编码' ")
    private String standTypeCode;

    @Column(name = "StandTypeDesc",columnDefinition = "VARCHAR(50) COMMENT '标准柜体类型' ")
    private String standTypeDesc;

    @Column(name = "StandTypeName",columnDefinition = "VARCHAR(50) COMMENT '标准柜体描述' ")
    private String standTypeName;

    @Column(name = "BopCode",columnDefinition = "VARCHAR(50) COMMENT '工艺路径ID'")
    private String bopCode;

    @Column(name = "BopName",columnDefinition = "VARCHAR(50) COMMENT '工艺路径名称'")
    private String bopName;

    @Column(name = "Sequence",columnDefinition = "int COMMENT '工序序列'  not null")
    private int sequence;

    @Column(name = "ProcessId",columnDefinition = "VARCHAR(50) COMMENT '工序id'")
    private String processId;

    @Column(name = "ProcessCode",columnDefinition = "VARCHAR(50) COMMENT '工序编码'")
    private String processCode;

    @Column(name = "ProcessName",columnDefinition = "VARCHAR(50) COMMENT '工序名称' ")
    private String processName;

    @Column(name = "StandWorkHour",columnDefinition = "float COMMENT '标准工时' ")
    private float standWorkHour;

    @Column(name = "StandCycle",columnDefinition = "int COMMENT '标准周期(day)' ")
    private int standCycle;

}
